ECLIPSE := $(ECLIPSE)~/Documents/workspace/Grozi/SegmentedPictureReader/src


@default:
	javac SegmentedPictureReader.java
	javac DistanceTransformReader.java
	@echo "Done :D"
run:
	javac SegmentedPictureReader.java
	@echo "Running Segmented Picture Reader..."
	@java SegmentedPictureReader
distance:
	javac DistanceTransformReader.java
	@echo "Running Distance Transform Reader..."
	@java DistanceTransformReader
synch:
	@echo "Copying over backups..."
	cat SegmentedPictureReader.java > SegmentedReader.backup
	cat DistanceTransformReader.java > DistanceTransformReader.backup
	@echo "Removing old copies..."
	rm -f SegmentedPictureReader.java
	rm -f DistanceTransformReader.java
	rm -f Sound.java
	@echo "Copying New Versions from Eclipse..."
	@cp $(ECLIPSE)/SegmentedPictureReader.java .
	@cp $(ECLIPSE)/DistanceTransformReader.java .
	@cp ~/Documents/CODEZ/bookclasses/Sound.java .
	@echo "Done"
